package com.java2_15;

public class Dog1 extends Animal1 {

    public Dog1() {
    }

    public Dog1(int age, String color) {
        super(age, color);
    }

    @Override
    public void eat(String something) {
        System.out.println(getAge() + "岁的" + getColor() + "颜色的狗两只前腿死死的抱住" + something + "猛吃");
    }
    public void lookHouse(){
        System.out.println("狗子在看家");
    }

}
